{extend name="admin@public:base" /}
{block name="main-row-content"}
<div class="page-header">
	<h3 class="widget-title grey lighter">
		<i class="ace-icon fa fa-leaf green"></i>
		系统设置
	</h3>
</div><!-- /.page-header -->
<div class="row">
    <div class="builder-tabs builder-form-tabs mb-20">
        <ul class="nav nav-tabs">
           <li class=""><a href="{:url('admin/sys/sys_basic_set')}">基本</a></li>
            <li class="active"><a href="{:url('admin/sys/sys_basic_sys')}">系统</a></li>
            <li class=""><a href="{:url('admin/sys/sys_upload_set')}">上传</a></li>
            <li class=""><a href="{:url('admin/sys/sys_basic_weblog')}">日志</a></li>
            <li class=""><a href="{:url('admin/sys/sys_basic_database')}">数据库</a></li>
       </ul>
    </div>
	<div class="col-xs-12 padding-top-30">
		<!-- PAGE CONTENT BEGINS -->
		<form class="form-horizontal ajaxForm2" action="{:url('admin/Sys/sys_basic_runsys')}" method="post" enctype="multipart/form-data">
		    <div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="form-field-1">站点名称：</label>
				<div class="col-sm-10">
					<input type="text"  name="site_name" placeholder="请输入站点名称"  value="{$web_sys.site_name}" class="col-xs-4"/>
				</div>
				
			</div>
			<div class="space-4"></div>
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="form-field-1">首页地址：</label>
				<div class="col-sm-10">
					<input type="text"  name="site_url" placeholder="请输入首页地址" value="{$web_sys.site_url}" class="col-xs-4"/>
					<div class="col-sm-5 help-block"><i class="fa fa-info-circle color-info1"></i> 可以通过配置此项自定义系统首页的地址，比如：http://www.xxx.com</div>
				</div>
				
			</div>
			<div class="space-4"></div>
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="form-field-1">网站logo：</label>
				<div class="col-sm-10">
				    <div class="col-sm-2">
						<a href="javascript:;" class="file">
							<input name="img" id="img_upload" type="file">
							<i class="fa fa-cloud-upload "></i>上传logo图
						</a>
					</div>
					<div class="col-sm-10 help-block"><i class="fa fa-info-circle color-info1"></i> 用于展示网站的logo</div>
					<div class="file_img_show col-sm-12">
					    <div class="img col-xs-2" id="show_upload_img">
					      <i class="ace-icon fa fa-times red remove_upload_img"></i>
					      <img src='{$web_sys.site_logo|get_img}' alt="">
					      <input type="hidden"  name="site_logo" value="{$web_sys.site_logo}">
					    </div>
					</div>
				</div>
				
			</div>
			<div class="space-4"></div>
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="form-field-1">验证码字体类型：</label>
				<div class="col-sm-10">
					<select name="fontttf" class="col-xs-10 col-sm-4" >
                        <option value="">--请选择--</option>
                        <option value="1.ttf" {if condition="$captcha.fontttf eq 1"}selected{/if}>1.ttf</option>
                        <option value="2.ttf" {if condition="$captcha.fontttf eq 2"}selected{/if}>2.ttf</option>
                        <option value="3.ttf" {if condition="$captcha.fontttf eq 3"}selected{/if}>3.ttf</option>
                        <option value="4.ttf" {if condition="$captcha.fontttf eq 4"}selected{/if}>4.ttf</option>
                        <option value="5.ttf" {if condition="$captcha.fontttf eq 5"}selected{/if}>5.ttf</option>
                        <option value="6.ttf" {if condition="$captcha.fontttf eq 6"}selected{/if}>6.ttf</option>
                    </select>
					<div class="col-sm-5 help-block"><i class="fa fa-info-circle color-info1"></i> 设置在网站底部显示的版权信息</div>
				</div>
			</div>
			<div class="space-4"></div>
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 验证码是否杂点：  </label>
				<div class="col-sm-10">
					<label>
						<input name="useNoise" type="radio" value="1" {$captcha.useNoise?"checked":""} class="ace">
						<span class="lbl" > 有 </span>&nbsp;&nbsp;
					</label>
					<label>
						<input name="useNoise" type="radio" value="0" {$captcha.useNoise?"":"checked"} class="ace">
						<span class="lbl"> 无 </span>
					</label>
				</div>
			</div>
            <div class="space-4"></div>
            <div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="form-field-1"> 验证码混淆曲线：  </label>
				<div class="col-sm-10">
					<label>
						<input name="useCurve" type="radio" value="1" {$captcha.useCurve?"checked":""} class="ace">
						<span class="lbl"> 有 </span>&nbsp;&nbsp;
					</label>
					<label>
						<input name="useCurve" type="radio" value="0" {$captcha.useCurve?"":"checked"} class="ace">
						<span class="lbl"> 无 </span>
					</label>
				</div>
			</div>
            <div class="space-4"></div>
			<div class="form-group">
				<label class="col-sm-2 control-label no-padding-right" for="form-field-1">后台分页数目：</label>
				<div class="col-sm-10">
				    <input   name="list_row" type="text" placeholder="后台分页数目" value="{$web_sys.list_row}"  class="col-xs-4"/>
					<div class="col-sm-5 help-block"><i class="fa fa-info-circle color-info1"></i> 分页时每页的记录数</div>
				</div>
				
			</div>
			<div class="space-4"></div>
			<div class="clearfix">
				<div class="col-md-offset-3 col-md-9 ">
					<button class="btn btn-info btn-sm btn-radius" type="submit">
						<i class="ace-icon fa fa-check bigger-110"></i>
						提交并保存
					</button>

					&nbsp; &nbsp; &nbsp;
					<button class="btn btn-success btn-sm btn-radius" type="submit">
						<i class="ace-icon fa fa-undo bigger-110"></i>
						重置
					</button>
				</div>
			</div>

			
		</form>
	</div><!-- /.col -->
</div><!-- /.row -->
{/block}
